package com.ruoyi.rocky.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 车辆申请对象 pc_vehicles_join
 *
 * @date 2024-04-27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("pc_vehicles_join")
@ApiModel(value = "PcVehiclesJoin", description = "车辆申请表")
@AllArgsConstructor
public class PcVehiclesJoin extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 车辆id
     */
    @ApiModelProperty(value = "车辆id")
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号")
    private String licensePlate;

    /**
     * 车辆品牌
     */
    @ApiModelProperty(value = "车辆品牌")
    private String brand;

    /**
     * 车辆型号
     */
    @ApiModelProperty(value = "车辆型号")
    private String model;

    /**
     * 车辆颜色
     */
    @ApiModelProperty(value = "车辆颜色")
    private String color;

    /**
     * 车辆照片
     */
    @ApiModelProperty(value = "车辆照片")
    private String vehiclePhoto;

    /**
     * 车架号照片
     */
    @ApiModelProperty(value = "车架号照片")
    private String vinPhoto;

    /**
     * 行驶证照片
     */
    @ApiModelProperty(value = "行驶证照片")
    private String registrationPhoto;

    /**
     * 0=审核中 1=申请通过 2=申请失败
     */
    @ApiModelProperty(value = "审核状态 0=审核中 1=申请通过 2=申请失败")
    private Integer applyType;

    /**
     * 审核人
     */
    @ApiModelProperty(value = "审核人")
    private Long applyUser;

    /**
     * 审核失败原因
     */
    @ApiModelProperty(value = "审核失败原因")
    private String reason;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Long createUser;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private Long updateUser;


}